<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Swiper中文网基础演示(www.swiper.com.cn)</title>
<link rel="stylesheet" href="css/swiper.min.css">
<!--Swiper3.0.4-->
<style>
* {
	margin: 0;
	padding: 0;
}
.swiper-container,
.swiper-wrapper{
	width: 100%;
	height: 100%;
}
.swiper-slide {
	height: 100%;
}
img{
	width: 100%;
}
</style>
</head>
<body>
<div class="swiper-container">
  <div class="swiper-wrapper">
    <div class="swiper-slide">
    	<img src="images/1.jpg">
    </div>
    <div class="swiper-slide">
    	<img src="images/2.jpg">
    </div>
    <div class="swiper-slide">
    	<img src="images/3.jpg">
    </div>
  </div>
</div>
<script src="js/swiper.min.js"></script>
<script type="text/javascript">
  var mySwiper = new Swiper('.swiper-container',{
  	direction : 'vertical',
    loop: true,
	autoplay: 3000,
  });
</script>
</body>
</html>
